<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .haha{
        background-color: chocolate;
            width: 200px;
            height: 200px;
        }
    </style>
</head>
<body>
<div id="app">
<div v-bind:class="info">我是哈哈</div>
</div>
<script src="./node_modules/vue/dist/vue.js"></script>
<script type="text/javascript">
    var vm = new Vue({
        el: "#app",
        data: {
info:"haha"
        }
    })
</script>
</body>
</html>